package cn.cimoc.mapper;

import cn.cimoc.model.Admin;
import cn.cimoc.vo.AdminDetailVO;
import cn.cimoc.vo.AdminLoginVO;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminMapper {
    AdminDetailVO getDetailsById(Long id);

    int addNew(Admin admin);

    Admin getByUsername(String username);

    AdminLoginVO getLoginInfoByUsername(String username);

    Admin getById(Long id);
}
